#include <Unit.h>

Unit::Unit(const unsigned int toBaseRatio, const string name) :
	toBaseRatio_m(toBaseRatio),
	name_m(name)
{
}

unsigned int Unit::getToBaseRatio() const
{
	return toBaseRatio_m;
}

ostream& operator << (ostream& os, const Unit& unit)
{
	os << unit.name_m;

	return os;
}
